package homework.day12;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class TranRecordImpl implements ITranRecord {
    public TranRecordImpl() {
        List<TranRecord> list = new ArrayList<>();
        TranRecord t=new TranRecord(000001,"刘德华",0000,1,"4155990188888888","20060720200005",300.00);
        TranRecord t1=new TranRecord(000201,"晓龙",0002,1,"4155990199999999","20060720200005",500.00);
        TranRecord t2=new TranRecord(000101,"黄晓明",0012,1,"4155990100000000","20060720200005",1000.50);
        TranRecord t5=new TranRecord(000101,"张东健",0012,1,"4155990155555555","20060720200005",600.99);
        TranRecord t3=new TranRecord(000301,"梁朝伟",0013,0,"4155990111111111","20060722201005",5000.00);
        TranRecord t4=new TranRecord(000001,"刘德华",0000,1,"4155990188888888","20060725200005",200.00);
        list.add(t);
        list.add(t1);
        list.add(t2);
        list.add(t3);
        list.add(t4);
        list.add(t5);


    }


    @Override
    public List<TranRecord> findByCustomerNumber(String customerNumber) {
        return null;
    }

    @Override
    public List<TranRecord> findByDate(String startDate, String endDate) {
  return null;
    }

    @Override
    public BigDecimal totalAmount() {
        return null;
    }
}
